package com.vodafone.nowplus.android.peoplemail;

import com.vodafone.nowplus.android.peoplemail.filter.MessageListFilter;
import com.vodafone.nowplus.android.peoplemail.mail.Flag;

public class MessageFilterSearchSpecification implements SearchSpecification {
	
	private MessageListFilter mMessageListFilter=null;
	private String mAccountUuid;
	
	public MessageFilterSearchSpecification(MessageListFilter messageListFilter, String accountUuid) {
		mMessageListFilter = messageListFilter;
		mAccountUuid = accountUuid;
    }

	@Override
	public String[] getAccountUuids() {
		return new String[] { mAccountUuid };
	}

	@Override
	public String[] getFolderNames() {
		return new String[] {  };
	}

	@Override
	public Flag[] getForbiddenFlags() {
		return null;
	}

	@Override
	public String getQuery() {
		return "";
	}

	@Override
	public Flag[] getRequiredFlags() {
		return null;
	}

	@Override
	public boolean isIntegrate() {
		return true;
	}
	
	public String getMessageListFilterName() {
		return mMessageListFilter.getName();
	}

}
